// Decompiled by GOOSIN CO,LTD Copyright 2010 Pavel Kouznetsov.
// home page: http://www.Goosin.net
// Decompiler options: packimports(3) fieldsfirst ansi space 
// Source File Name:   reset_ok.java

package include.auto_execute;

import java.io.IOException;
import java.util.StringTokenizer;
import javax.servlet.ServletContext;
import javax.servlet.ServletException;
import javax.servlet.http.*;
import javax.servlet.jsp.JspFactory;

public class reset_ok extends HttpServlet
{

	public reset_ok()
	{
	}

	public void service(HttpServletRequest request, HttpServletResponse response)
		throws IOException, ServletException
	{
		HttpSession dbSession = request.getSession();
		JspFactory _jspxFactory = JspFactory.getDefaultFactory();
		javax.servlet.jsp.PageContext pageContext = _jspxFactory.getPageContext(this, request, response, "", true, 8192, true);
		try
		{
			HttpSession session = request.getSession();
			ServletContext context = session.getServletContext();
			String realpath = context.getRealPath("/");
			String path = "";
			for (StringTokenizer tokenTO = new StringTokenizer(realpath.substring(0, realpath.length() - 1), "\\"); tokenTO.hasMoreTokens();)
				path = (new StringBuilder(String.valueOf(path))).append(tokenTO.nextToken()).append("/").toString();

			String classpath = (new StringBuilder(String.valueOf(path))).append("WEB-INF/classes/").toString();
			response.sendRedirect("main/refresh.jsp");
		}
		catch (Exception ex)
		{
			ex.printStackTrace();
		}
	}
}
